Posted by Christer M from tipgwy.eritel.se (194.17.213.1)on March 13, 1998 at 02:46:59:
About the wrapper
There are 3 ways of exporting DLL-functions in VC.
1) .def file.
2) DLLExport.
3) /EXPORT
What you should remember is to change the 'Calling Convetion'
in the Build-settings. to 'StdCALL'.
This is the correct option to get VC++ to expot the functions
in _FUNCTIONS@bytes. Microsoft recommends to use DllExport
way of doing it.
When using the new DLLMAIN, it crashed my BigRREd right after
init, seems it passes some wrong value back to microsofts init
code. What could this be? Anyone.?
/Christer